In [1]:
# Make it so notebook knows how to access ooitk from the notebook dir
import sys
import os
sys.path.append(os.path.dirname(os.getcwd()))

Fetch the Data Produts


In [2]:
from ooitk.data_catalog import DataProductCatalog
dpc = DataProductCatalog('localhost', 3000)

data_product_listing = dpc.list_data_products()

In [3]:
from ooitk.display import ListTable
listing = ListTable([['name', 'description', 'id']])
listing.extend([[i['name'], i['description'], i['_id']] for i in data_product_listing[:10]])
listing


Out[3]:
namedescriptionid
Conductivity L0 CTDMO 30m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-06-CTDMOG999 core OOI data productb6f603f1673c4b86991b99f4665f68c0
Pressure (Depth) L1 CTDMO 30m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-06-CTDMOG999 core OOI data product25720d68f1784c52bd13ccb325bea9fa
Temperature L0 CTDMO 130m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-10-CTDMOG999 core OOI data producta1005d4d2160427991a4df0d2b9de816
Pressure (Depth) L0 CTDMO 1500m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-17-CTDMOH999 core OOI data product28a535262a95472392d50feb8a96e7d2
Conductivity L1 CTDMO 40m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-07-CTDMOG999 core OOI data productf3277625bd40411ca9ac6da613d252f9
Temperature L1 CTDMO 130m Low Power Sub-surface Mooring B - Global Station Papa Mesoscale Flanking BInstrument GP03FLMB-RI001-10-CTDMOG999 core OOI data product5269d3338eef44888649046f5b077475
Optical Backscatter (Red Wavelengths) L1 FLORD Glider 002 - Global Station Papa Mobile AssetsInstrument GP05MOAS-GL002-01-FLORDM999 core OOI data product032dd880e600453abb9a9a84d2f5fa8d
SBE37SMP RawRaw stream from SBE37SMP instrument at UCSD on Beta Demonstration Platform2eac0ea6925d4e9ea19b5a2e2e8a8bc9
SBE37SMP ParsedParsed Stream from SBE37SMP instrument at UCSD on Beta Demonstration Platform4a810ebb2686488aa1c42ff40a4f8559
Density L2 CTDMO 130m Low Power Sub-surface Mooring A - Global Station Papa Mesoscale Flanking AInstrument GP03FLMA-RI001-10-CTDMOG999 core OOI data producta01aefea28bd4bb58bb355b2caaaca85

In [3]: